package com.taxshare.operation.controller;

import com.taxshare.operation.service.TenantService;
import com.taxshare.response.beans.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: TenantController
 * @Description:
 * @author: luozhongyi
 * @date: 2021/2/20 17:41
 */
@RestController
@RequestMapping(value = "/tenant")
@Api(tags = "集团管理")
public class TenantController {

    @Autowired
    TenantService tenantService;

    /**
     * 初始化系统信息【适用于定制项目】
     */
    @GetMapping("/init/system")
    @ApiOperation(value = "初始化系统信息【适用于定制项目】", notes = "初始化系统信息【适用于定制项目】")
    public Response initSystem() {
        return tenantService.initSystem();
    }

}
